home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer: Getting Started / Internet Surfer - Getting Started (Wayzata Technology)(7231)(1995).bin / pc / textfile / faqs / fonts_fa / part3 < prev    next >
Encoding:
Internet Message Format  |  1995-01-01  |  39.1 KB

  1. Xref: bloom-picayune.mit.edu comp.fonts:5968 news.answers:3315
  2. Path: bloom-picayune.mit.edu!snorkelwacker.mit.edu!news.media.mit.edu!micro-heart-of-gold.mit.edu!wupost!usc!rpi!usenet.coe.montana.edu!caen!nic.umass.edu!dime!dime.cs.umass.edu!walsh
  3. From: walsh@cs.umass.edu (Norman Walsh)
  4. Newsgroups: comp.fonts,news.answers
  5. Subject: comp.fonts FAQ: part 3 of 5
  6. Summary: This posting answers frequently asked questions about fonts.
  7.          It addresses both general font questions and questions that
  8.      are specific to a particular platform.
  9. Message-ID: <WALSH.92Oct2140559@ibis.cs.umass.edu>
  10. Date: 2 Oct 92 18:05:59 GMT
  11. Expires: 6 Nov 92 00:00:00 GMT
  12. References: <9210021355.WW15298@cs.umass.EDU>
  13. Sender: news@dime.cs.umass.edu
  14. Reply-To: walsh@cs.umass.edu (Norm Walsh)
  15. Followup-To: poster
  16. Organization: Dept of Comp and Info Sci, Univ of Mass (Amherst)
  17. Lines: 1005
  18. Approved: news-answers-request@MIT.Edu
  19.  
  20. Archive-Name: fonts-faq/part3
  21. Version: 1.0.0
  22.  
  23. --- [cut here] --- FAQ for comp.fonts: section 2, part 1 of 2 ---
  24. FAQ for comp.fonts: Part II: Macintosh-specific Info
  25.  
  26. Version 1.0.0, Release 02OCT92
  27.  
  28. Welcome to the comp.fonts FAQ.  This article, posted monthly, describes many
  29. of the basic questions that seem to be repeated frequently on comp.fonts.
  30. Your comments are both welcome and encouraged. 
  31.  
  32. The FAQ is divided into sections.  The first section is a general overview.
  33. The remaining sections are more-or-less platform specific.  The FAQ is posted
  34. in pieces to avoid clobbering news and/or mail gateways that are incapable
  35. of handling arbitrarily large items.
  36.  
  37. The sections are:
  38.  
  39.    Part    I: General Info
  40.    Part   II: Macintosh-specific Info
  41.    Part  III: MS-DOS-specific Info
  42.    Part   IV: *nix-specific Info
  43.    Part    V: Sun-specific Info
  44.    Part   VI: NeXT-specifc Info
  45.    Part  VII: X-specific Info
  46.    Part VIII: Font utilities
  47.  
  48. Even if you don't use a particular architecture, you may find it helpful to
  49. read the FAQ for that platform at least once.  Some ideas, like font format
  50. conversion, may be relevant to more than one platform even if they are
  51. expressed in platform-specific tools at this time.
  52.  
  53. After the FAQ is more stable, monthly DIFFs will be posted as well as the
  54. complete FAQ.  
  55.  
  56. This section is divided into the following topics:
  57.  
  58. 1.    Mac font notes
  59. 1.1.    Font formats
  60. 1.2.    Frequently requested fonts
  61. 1.3.    Commercial font sources
  62. 2.    Font installation
  63. 3.    Font utilities
  64. 4.    Making outline fonts
  65. 5.    Problems and possible solutions
  66. 6.    Creating Mac screen fonts from Type 1 outlines
  67.  
  68. ------------------------------------------------------------------------------
  69.  
  70. 1. Mac font notes
  71.  
  72. 1.1. Font formats
  73.  
  74.   Postscript Type 1 fonts can be installed on the Macintosh only by using
  75.   accompanying bitmapped fonts.
  76.  
  77.   Postscript Type 3 fonts are installed on the Macintosh in the same way
  78.   that Type 1 fonts are. 
  79.  
  80.   Truetype fonts: no bitmapped font is necessary with this type, though
  81.   commonly used sizes are often supplied.
  82.  
  83.   Bitmap fonts: on the Macintosh, bitmap fonts also contain the kerning
  84.   information for a font and must be installed with both type 1 and type
  85.   3 fonts. Their presence also speeds the display of commonly used font
  86.   sizes.
  87.  
  88. 1.2. Frequently requested fonts
  89.  
  90.   Many fonts are available at various archives.  The king of Macintosh
  91.   font archives is mac.archive.umich.edu.  On mac.archive.umich.edu, the
  92.   fonts are located in the following folders:
  93.  
  94.   /mac/system.extensions/font/type1
  95.                "             /type3
  96.                "             /truetype
  97.  
  98.  
  99.   The following fonts are in Type 1 format for the Macintosh. Some are
  100.   also available in TrueType format.
  101.  
  102.   Tamil         Paladam, T. Govindram
  103.  
  104.   Hebrew        ShalomScript, ShalomOldStyle, ShalomStick, Jonathan Brecher
  105.  
  106.   Japanese      Shorai (Hirigana, with application)
  107.  
  108.   Start Trek    StarTrekClassic, Star TrekClassicMovies, StarTrekTNGCrille, 
  109.                 StarTrekTNG Titles, TNG monitors, StarFleet, 
  110.         Klinzai (Klingon font)
  111.  
  112.   Command-key  Chicago (TrueType or bitmap, key: Ctrl-Q),  Chicago Symbols
  113.   symbol       (Type3, key: 1), EncycloFont (Type3, key: d)
  114.  
  115.   Astrologic/  Hermetica (Type1), InternationalSymbols (Type 3, Mars and
  116.   Astronomic   Venus only), MortBats (Type3), Zodiac (bitmap)
  117.   symbols
  118.  
  119.   Many of these mac fonts are available in files that are either entitled
  120.   xxxx.sit or xxxx.cpt. xxxx.sit files are Stuffit archives.  xxxx.cpt
  121.   files are Compact Pro archives. StuffitLite (shareware $25) and Compact
  122.   Pro (shareware $25) are available at the standard ftp sites.
  123.   Uncompressors for these programs (free) are also available at the
  124.   archive sites. Check the utilities/compression utilities folders.
  125.  
  126. 1.3. Commercial font sources
  127.  
  128.   Commercial fonts can be obtained from a number of different companies,
  129.   including the large font houses: Adobe, Font Haus, Font Company,
  130.   Bitstream, and Monotype. At these companies, fonts cost about $40 for a
  131.   single face, and must be purchased in packages. Adobe, Bitstream, and
  132.   Monotype also sell pre-designated type collections for slightly lower
  133.   prices.
  134.  
  135.   Image Club sells a wide selection of fonts for about $50 for a 4 font
  136.   family.
  137.  
  138.   Other, cheaper companies sell fonts of lesser quality, including KeyFonts,
  139.   which sells a set of 100 fonts for $50 and Cassady & Green's Fluent Laser
  140.   Fonts, a set of 79 fonts for $99. Cassady & Greene also sells Cyrillic
  141.   language fonts in Times, Bodoni, and Helvetica sell for about $40 for each
  142.   4 font family.
  143.  
  144.   Underground Phont Archive (Jason Osborne, V065HJKU@ubvms.cc.buffalo.edu):
  145.   is a distributor of shareware/freeware truetype fonts.  Many of these
  146.   fonts can also be obtained at the mac.archive.umich.edu archive site.
  147.   Currently [ed: as of 7/92] 170 fonts, which are distributed for $35, +3
  148.   shipping for overseas orders.  (Some fonts may have additional shareware
  149.   fees).
  150.  
  151.   Foreign language fonts, ranging from Egyptian hieroglyphics to Cyrillic
  152.   can be obtained from Ecological Linguistics.
  153.  
  154.   Please consult the vendor list for a more complete list of vendors.
  155.  
  156. 2. Font Installation
  157.  
  158.   System 7
  159.  
  160.     Install the fonts by opening the suitcase containing the bitmap file
  161.     and dropping the fonts into your system suitcase, located inside your
  162.     system folder. You will need to quit all other applications before
  163.     doing this.  For a TrueType font, the icon for the font will have
  164.     several letters in it, instead of just one. Dropping it into your
  165.     system suitcase will make all sizes of the font available. For
  166.     Postscript type 1 fonts, you also need to place the printer font in
  167.     the extensions folder in your system folder. If you are using ATM you
  168.     need to place these fonts in the root level of your system folder
  169.     (not inside another folder). Using Suitcase, a font management
  170.     utility, you can avoid cluttering your system folder with printer
  171.     fonts.
  172.     
  173.     You can make new suitcases of fonts (generally not needed, but used by
  174.     those who use Suitcase) by using Font DA mover.  It operates the same 
  175.     as in system 6, except that the most recent version must be used.
  176.  
  177.   System 6
  178.  
  179.     Bitmap fonts can be installed using Font DA mover to move the fonts,
  180.     located inside suitcases, into your system. You will need to restart
  181.     your computer to make these fonts available. Printer fonts must be
  182.     placed in the system folder, not inside any other folder.
  183.  
  184.     Truetype fonts can be used with system 6 if you get the Truetype init.
  185.     Then the fonts can be installed in your system with Font DA mover.
  186.     Suitcase can also be used under system 6.
  187.  
  188. 3. Font utilities
  189.  
  190.   SUITCASE
  191.  
  192.     Suitcase is a nifty little system extension that lets you avoid having
  193.     to install fonts into your system. In system 6, it means that you can
  194.     avoid restarting your system every time you want to install a new font.
  195.  
  196.     In system 7, Suitcase lets you avoid quitting all applications before
  197.     making fonts available. Some programs, like Quark Xpress will
  198.     automatically update their font list when you open a new suitcase,
  199.     allowing much more flexibility in opening and closing font suitcases and
  200.     making different sets of fonts available.
  201.  
  202.     Suitcase appears in your Apple menu in both system 7 and 6 and allows
  203.     you to open suitcases, as though they were files, thus making the fonts
  204.     contained in them accessible to programs.
  205.  
  206.     In addition, when suitcase is installed, printer fonts can be stored
  207.     with the bitmap suitcases they correspond to, instead of having to drop
  208.     them into your system folder.
  209.  
  210.     The most recent version of Suitcase is compatible with TrueType.
  211.     Suitcase is about $54 form the mail order places.
  212.  
  213.   MASTER JUGGLER
  214.   
  215.     Claims to do similar things
  216.  
  217.   ATM
  218.  
  219.     Adobe Type Manager is an Init and Control panel allows accurate screen
  220.     display, at any size of Postscript type 1 fonts. It's function is
  221.     replicated with Truetype (but for different outline font format). With
  222.     it installed, you can print fonts of any size to non-postscript
  223.     printers. When using ATM, printer fonts must either be stored with the
  224.     bitmap files opened with suitcase (when using Suitcase), or they must be
  225.     stored in the root level of the system folder. ATM is now available,
  226.     with the System 7.0 upgrade, as well as directly from adobe with 4
  227.     Garamond fonts. It will supposedly be built into System 7.1.
  228.     
  229.   TTconverter
  230.  
  231.     A shareware accessory available at the usual archives will convert
  232.     Truetype fonts for the IBM into Macintosh format.
  233.  
  234.   A variety of programs, for example, Font Harmony, etc. will allow you
  235.   to change the names and ID numbers of your fonts.
  236.  
  237.   Fontmonger and Metamorphosis will let you convert fonts among several
  238.   formats (type 1 and 3 and Truetype for the Mac and PC), as well as
  239.   letting you extract the font outlines from the printer fonts.
  240.  
  241. 4. Making outline fonts
  242.  
  243.   This is very, very difficult. Many people imagine that there are
  244.   programs that will simply convert pictures into fonts for them. This
  245.   is not the case; most fonts are painstakingly created by drawing
  246.   curves that closely approximate the letterforms. In addition, special
  247.   rules (which improve hinting, etc.) mandate that these curves be drawn
  248.   in specific ways. Even designing, or merely digitizing, a simple font can
  249.  
  250.   take hundreds of hours.
  251.  
  252.   Given that, there are two major programs used for font design on the
  253.   Macintosh, Fontographer ($280) and FontStudio ($400). These programs
  254.   will allow you to import scanned images, and then trace them with
  255.   drawing tools.  The programs will then generate type 1, 3, TrueType
  256.   and Bitmap fonts for either the Macintosh or the IBM PC. They will
  257.   also generate automatic hinting. They also open previously constructed
  258.   outline fonts, allowing them to be modified, or converted into another
  259.   format.
  260.  
  261.   As far as I know, there are no shareware programs that allow you to
  262.   generate outline fonts.
  263.  
  264.  
  265. 5. Problems and possible solutions
  266.  
  267.   1) Another font mysteriously appears when you select a certain font for
  268.      display. This is often the result of a font id conflict. All fonts on
  269.      the Macintosh are assigned a font id, an integer value. When two fonts
  270.      have the same id, some programs can become confused about the
  271.      appropriate font to use. Microsoft word 4.0 used font id's to assign
  272.      fonts, not their names.  Since id's can be different on different
  273.      computers, a word document's font could change when it was moved from
  274.      one computer to another. Other signs of font id problems are
  275.      inappropriate kerning or leading (the space between lines of text).
  276.      Some font ID problems can be resolved by using Suitcase, which will
  277.      reassign font ID's for you, as well as saving a font ID file that can
  278.      be moved from computer to computer to keep the id's consistent.  Font
  279.      ID problems can also be solved with several type utilities, which will
  280.      allow you to reassign font id's.  Most newer programs refer to fonts
  281.      correctly by name instead of id number, which should reduce the
  282.      frequency of this problem.
  283.  
  284.   2) When using a document written in MSWord 5.0, the font mysteriously
  285.      changes when you switch from your computer at home to work, or vice
  286.      versa.  This is the result of a bug in MSWord 5.0. The MSWord 5.0
  287.      updater, which can be found at the info-mac archives at sumex (in the
  288.      demo folder), will fix this bug.
  289.  
  290. 6. Creating Mac screen fonts from Type 1 outlines
  291.  
  292. A) 
  293.   Berthold K.P. Horn <bkph@ai.mit.edu> contributes the following solution.
  294.  
  295.   This is a commercial solution.  A font manipulation package from Y&Y
  296.   includes:
  297.  
  298.   AFMtoPFM, PFMtoAFM, AFMtoTFM, TFMtoAFM, AFMtoSCR, SCRtoAFM, TFMtoMET,
  299.   PFBtoPFA, PFAtoPFB, MACtoPFA, PFBtoMAC, REENCODE, MODEX, DOWNLOAD,
  300.   SERIAL, and some other stuff I forget.
  301.  
  302.   To convert PC Type 1 fonts to MacIntosh use PFBtoMAC on the outline
  303.   font itself; then use AFMtoSCR to make the Mac `screen font'
  304.   (repository of metric info). You may need to use PFMtoAFM to first
  305.   make AFM file.
  306.  
  307.   To convert MacIntosh font to PC Type 1, use MACtoPFA, followed by
  308.   PFAtoPFB.  Then run SCRtoAFM on screen font to make AFM file.
  309.   Finally, run AFMtoPFM to make Windows font metric file.
  310.  
  311.   Y&Y are the `TeX without BitMaps' people (see ad in TUGboat):
  312.  
  313.     Y&Y makes DVPSONE, DVIWindo, and fonts, for use with TeX mostly,
  314.     in fully hinted Adobe Type 1 format.
  315.  
  316.     Y&Y, 106 Indian Hill, Carlisle MA 01741  USA
  317.     (800) 742-4059 
  318.     (508) 371-3286 (voice)
  319.     (508) 371-2004 (fax)
  320.  
  321. B) 
  322.   Mac Screen fonts can be constructed from outline fonts using
  323.   Fontographer, as well. 
  324.  
  325.  
  326. -- END OF PART II --
  327.  
  328.  
  329.  
  330.  
  331. FAQ for comp.fonts: Part III: MS-DOS-specific Info
  332.  
  333. Version 1.0.0, Release 02OCT92
  334.  
  335.  
  336. This section is divided into the following topics:
  337.  
  338. 1.  MS-DOS font notes
  339. 2.  Font installation
  340. 3.  Font utilities
  341. 4.  Converting Macintosh Type1 fonts to MS-DOS format
  342. 5.1 Converting PC Type1 fonts into TeX PK bitmap fonts
  343. 5.2 Converting TeX PK bitmaps into HP LaserJet softfonts (and vice-versa)
  344. 5.3 Converting TrueType fonts to HP LaserJet bitmap softfonts (HACK!)
  345. 6.  MS-DOS Screen Fonts (EGA/VGA text-mode fonts)
  346.  
  347. ------------------------------------------------------------------------------
  348.  
  349. 1. MS-DOS font notes
  350.  
  351.   The easiest way to get outline fonts under MS-DOS is with MicroSoft
  352.   Windows 3.x or OS/2 2.x.
  353.  
  354.   MicroSoft Windows 3.0 with Adobe Type Manager (ATM) and OS/2 2.0 support
  355.   PostScript Type1 fonts.
  356.  
  357.   MicroSoft Windows 3.1 supports TrueType fonts natively.
  358.  
  359.   Bitmap fonts are available in a variety of formats: most formats are
  360.   designed with the printer in mind and not the display since (prior to
  361.   graphical environments like Windows, GEM, and OS/2) the majority of work
  362.   under MS-DOS was done with a character-based interface.
  363.  
  364. 1.2. Frequently requested fonts
  365.  
  366.   Many fonts are available at various archives.  The biggest font archive
  367.   for MS-DOS format fonts is ftp.cica.indiana.edu.  Note: you can use any
  368.   Mac format Type1 font on your PC by converting it to PC format with the
  369.   free/shareware as described below.
  370.  
  371.   The following fonts are in Type 1 format for MS-DOS. Some are also
  372.   available in TrueType format.
  373.  
  374.   Hebrew        ShalomScript, ShalomOldStyle, ShalomStick
  375.  
  376.   Japanese      Shorai
  377.  
  378.   Start Trek    Crillee, TNG monitors
  379.  
  380. 2. Font Installation
  381.  
  382.   If you have any information that you feel belongs in this section, it
  383.   would be greatly appreciated.
  384.  
  385.   Windows
  386.  
  387.     Pat Farrell <pfarrell@cs.gmu.edu> contributes the following description
  388.     of font installation under Windows.
  389.  
  390.     Installing Fonts into Windows:
  391.  
  392.     This only covers Windows 3.1. Font is a four-letter word in Windows 
  393.     versions prior to 3.1 due to the distinctions between screen fonts and 
  394.     printer fonts. The upgrade price of Windows 3.1 is justified by the 
  395.     integration of TrueType into the package and the inclusion of useful 
  396.     fonts for all printers.
  397.  
  398.     Commercial fonts usually have installation instructions with their 
  399.     manuals. The approach may differ from the method used for PD and 
  400.     shareware fonts.
  401.  
  402.     To install PD and shareware fonts in Windows 3.1:
  403.  
  404.       1. Copy the fonts onto a suitable scratch area (i.e. a floppy, or any 
  405.          temporary area of your hard disk.
  406.  
  407.       2. Execute "Control Panel" by double-clicking on the icon in the 
  408.          Windows Program Manager's "main" group.
  409.  
  410.       3. Double-click on the Fonts icon.
  411.  
  412.       4. Double-click on the "Add" button.
  413.  
  414.       5. Select the scratch directory holding the new fonts.
  415.  
  416.       6. A list of the fonts will be displayed. You can manually select the 
  417.          fonts you like, or you can use the "Select All" button.
  418.  
  419.       7. Make sure the "Copy Fonts to Windows Directory" check-box is 
  420.          checked. This will copy the fonts from the scratch area to your 
  421.          Windows directory.
  422.  
  423.       8. Click on the "Ok" button.
  424.  
  425.     Special notes for Windows applications:
  426.  
  427.     Word for Windows (W4W) stores font/printer information in its own 
  428.     initialization files. After you add new fonts, you have to tell W4W 
  429.     that the printer can use the new fonts. Do this by selecting "Printer 
  430.     Setup" from the W4W main "File" menu item, click on the "Setup" button, 
  431.     and then click on two "Ok" buttons to back out of the setup mode.
  432.  
  433.     Note concerning Windows 3.1 upgrade:
  434.  
  435.     There are two upgrade packages available from Microsoft for Win3.1.  
  436.     There is the standard version which contains TypeType support, and 
  437.     about six font families (Times New Roman, Arial, Courier, Symbols, 
  438.     Wingdings, etc.). It costs something like $50 (US). The second version 
  439.     contains a number of TrueType fonts that includes equivalents for the 
  440.     35 standard Postscript fonts. This adds an additional $50, which is a 
  441.     pretty good value.  However, if you plan on buying Microsoft's 
  442.     PowerPoint, it includes the same additional fonts/typefaces. So you can 
  443.     save money by not buying the fonts twice.
  444.  
  445.   More about Windows
  446.  
  447.     Q: Why are don't the TrueType fonts that come with Microsoft products
  448.        (Word-for-Windows, PowerPoint, Windows 3.1 TrueType Font Pack, etc.)
  449.        display and print properly on my system?
  450.  
  451.     A: The font matching algorithm in Win3.1 is fairly simplistic.  If you
  452.        install lots of TrueType fonts, the algorithm can get confused. In
  453.        this case, "lots" is more than 50 or so.
  454.  
  455.        According to Luann Vodder who supports Microsoft Word on CompuServ:
  456.  
  457.          "There is a procedure which Windows must go through when an
  458.          application requests a font.  Each font contains a list of
  459.          attributes such as Family, FaceName, Height, Width, Orientation,
  460.          Weight, Pitch, etc.  When an application requests a font, it fills
  461.          out a logical font for Windows containing the necessary attributes,
  462.          then starts going through a font mapping algorithm to determine
  463.          which of the installed fonts most closely matches the requested
  464.          (logical) font.  Penalties are applied against fonts whose
  465.          attributes do not match the logical font, until the fonts with the
  466.          fewest penalties are determined.  If there is a "tie", Windows may
  467.          need to rely on the order of the fonts in the WIN.INI file to
  468.          determine the "winner".
  469.               
  470.        If the fonts you want are in your WIN.INI file, and show up in
  471.        Windows' Control Panel, then try moving them higher in your WIN.INI
  472.        file with a file edittor such as SYSEDIT.
  473.  
  474.   Other Programs
  475.  
  476.     It is an unfortunate fact that almost all MS-DOS programs do things
  477.     differently.  Your best bet is to read the manual that comes with the
  478.     program you want to use.
  479.  
  480. 3. Font utilities
  481.  
  482.   PS2PK
  483.  
  484.     PS2PK allows you to convert PostScript Type1 fonts into bitmap fonts.
  485.     The bitmap files produced are in TeX PK format.
  486.  
  487.   PKtoSFP
  488.  
  489.     PKtoSFP allows you to convert TeX PK fonts into HP LaserJet softfonts.
  490.  
  491.   PFBDir/PFBInfo
  492.  
  493.     PFBDir and PFBInfo format and display the "headers" in a binary Type1
  494.     font.
  495.  
  496. 4. Converting Macintosh Type1 fonts to MS-DOS format
  497.  
  498.   Converting Macintosh Type1 fonts into PC Type1 fonts can be done using
  499.   purely free/shareware tools.  I've outlined the procedure below.  Make
  500.   sure you read the "readme" files that accompany many fonts.  Some font
  501.   authors specifically deny permission to do cross-platform conversions.
  502.  
  503.   THE TOOLS YOU NEED:
  504.   -------------------
  505.  
  506.     XBIN:   xbin23.zip in /pub/msdos/mac on oak.oakland.edu (or other mirrors)
  507.     UNSIT:  unsit30.zip in /pub/msdos/mac on oak.oakland.edu
  508.     UNCPT:  ext-pc.zip in /pub/pc/win3/util on ftp.cica.indiana.edu
  509.     REFONT: refont11.zip in /pub/pc/win3/fonts on ftp.cica.indiana.edu
  510.     BMAP2AFM: bm2af01.zip in /pub/norm/mac-font-tools on ibis.cs.umass.edu
  511.  
  512.   XBIN converts Mac "BinHex"ed files back into binary format.  BinHex is
  513.   the Mac equivalent of UUencoding, it translates files into hexadecimal
  514.   digits so that mailers can send them around without difficulty.  It also
  515.   aids in cross platform copying too, I'm sure.  BinHexed files generally
  516.   have filenames of the form "xxx.yyy.HQX".
  517.  
  518.   UNSIT explodes "Stuffit" archives.  Stuffit archives generally have
  519.   filenames of the form "xxx.SIT".
  520.  
  521.   UNCPT explodes "Compactor" archives.  The ext-pc implementation is called
  522.   "extract" and does not require windows (even thought it's in the windows
  523.   section on cica).  Compactor archives generally have filenames of the
  524.   form "xxx.CPT".
  525.  
  526.   REFONT converts Mac type1 fonts into PC type1 fonts.
  527.  
  528.   BMAP2AFM constructs AFM files from the metric information contained in
  529.   Mac screen fonts (.bmap files).  The screen font files do not have any
  530.   standard name (although they frequently have the extension .bmap).  The
  531.   screen fonts have file type "FFIL" which, in combination with some common
  532.   sense, is usually sufficient to identify them.
  533.  
  534.   I've listed the tools that I've used and the sites that are reasonable
  535.   for me to retrieve them from.  It's probably a good idea to check with
  536.   archie for closer sites if you're not in North America.  These tools run
  537.   under MS-DOS.  XBIN and UNSIT can also be run under Unix.
  538.  
  539.   HOW TO DO IT:
  540.   -------------
  541.  
  542.   Collect the Mac fonts from the archive or BBS of your choice.  Most of
  543.   these files will be in BinHexed format.  As a running example, I'm going
  544.   to use the imaginary font "Plugh.cpt.hqx".  When I download this font to
  545.   my PC, I would use the name "PLUGH.CPX".  The actual name you use is
  546.   immaterial.
  547.  
  548.   Run XBIN on PLUGH.CPX.  This will produce PLUGH.DAT, PLUGH.INF, and
  549.   PLUGH.RSR.  The data fork of the Mac file (the .DAT file) is the only one
  550.   of interest to us, you can delete the others.
  551.  
  552.   If the original file had been "Plugh.sit.hqx", we would be using the
  553.   UNSIT program.  Since I chose a .cpt file for this example, I'm going to
  554.   run UNCPT.
  555.  
  556.   Run UNCPT on PLUGH.DAT.  You want to extract the AFM file (if present),
  557.   the documentation or readme file (if present), and the Type1 outline
  558.   file.  The AFM and README files will be in the data fork of the archive
  559.   file.  The Type1 outline will be in the resource fork.  The AFM and
  560.   README files have Mac "TEXT" type.  The Type1 outline file has "LWFN"
  561.   type.  I'm not trying to describe this part in a step-by-step fashion.
  562.   Use the docs for UNCPT and UNSIT as a guide.  If you got this far you
  563.   probably won't have much difficulty.  If you do, drop me a line and I'll
  564.   try to help.
  565.  
  566.   If the font does not contain an AFM file, extract the screen font.
  567.   Screen fonts frequently have the extension .bmap and are "FFIL" type
  568.   files.  Use Bmap2AFM to construct an AFM from the screen font.  If the
  569.   archive _does_ contain an AFM file, it's safe to bet that the author's
  570.   AFM will be better than the one created by Bmap2AFM.
  571.  
  572.   Finally, run REFONT on the Type1 outline that you extracted above.  The
  573.   result should be an appropriate PC type1 outline.  REFONT will create a
  574.   PFM file for you from the AFM file, if you desire.
  575.  
  576.   Remember to register your shareware...
  577.  
  578. 5.1 Converting PC Type1 fonts into TeX PK bitmap fonts
  579.  
  580.   The release of PS2PK by Piet Tutelaers <rcpt@urc.tue.nl> is a godsend to
  581.   those of us without PostScript printers.  PS2PK converts PC/Unix format
  582.   Type 1 fonts into TeX PK files.  Used in conjunction with the AFM2TFM
  583.   utility for creating TeX metric files, this allows almost anyone to use
  584.   Type 1 PostScript fonts.  PS2PK is distributed under the GNU License and
  585.   has been made to run under MS-DOS with DJGPP's free GNU C compiler.  The
  586.   PC version requires a 386 or more powerful processor.  Check with Archie
  587.   for a source near you.
  588.  
  589.   Note: if TeX PK files are not directly usable for you, there seems to be
  590.   a fair possibility that LaserJet softfonts would be useful.  If so, check
  591.   below for instructions on converting TeX PK files to LaserJet softfonts.
  592.  
  593. 5.2 Converting TeX PK bitmaps into HP LaserJet softfonts (and vice-versa)
  594.  
  595.   There is some possibility that someone will yell 'conflict of interest'
  596.   here, but I don't think so.  I wrote the following utilities:
  597.  
  598.     PKtoSFP: convert TeX PK files to LaserJet (bitmapped) softfonts
  599.     SFPtoPK: convert LaserJet (bitmapped) softfonts to TeX PK files
  600.  
  601.   But they are completely free, so I don't gain anything by "advertising"
  602.   them here.  These are MS-DOS platform solutions only.  If you know of
  603.   other solutions, I would be happy to list them.
  604.  
  605. 5.3. TrueType to HP LaserJet bitmap softfonts (HACK!)
  606.  
  607.   If you have the tools, the following suggestion does work, but it
  608.   isn't easy and it hasn't been automated.  To be honest, I haven't
  609.   really tested it.
  610.  
  611.   If you are using Windows 3.1, get a LaserJet printer driver (you don't
  612.   need the printer, just the driver).  Using the LaserJet driver, direct
  613.   output to a file and print a simple file containing all the letters you
  614.   want in the softfont in the font that you are converting.  When the print
  615.   job has completed, the output file will contain, among other things, a
  616.   LaserJet softfont of the TrueType font you selected.  If you know the
  617.   LaserJet format, you can grab it out of there.
  618.  
  619.   I didn't say it was easy ;-)
  620.  
  621.   This method will not work with ATM [ed: as of 7/92] because ATM does
  622.   not construct a softfont; it downloads the whole page as graphics.
  623.  
  624.   Here is an overview of the LaserJet bitmap softfont format.  It should
  625.   help you get started.  If you have any questions, ask norm
  626.   <walsh@cs.umass.edu>.  If anyone wants to write better instructions... ;-)
  627.  
  628.   Many details are omitted from this description.  They are thoroughly 
  629.   discussed in the HP Technical Reference for each model of laser printer.
  630.   I recommend purchasing the Tech Ref.  If you have additional questions
  631.   and do not plan to purchase the Tech Ref (or do not wish to wait for its
  632.   arrival), you can ask norm <walsh@cs.umass.edu>.
  633.  
  634.   An HP LaserJet softfont can occur almost anywhere in the output stream
  635.   destined for the printer.  In particular, it does _not_ have to be
  636.   wholly contiguous within the output file.  In fact, fonts can be
  637.   "intermixed" at will.  The following "pieces" make up a font:
  638.  
  639.   A begin font descriptor command (followed by the descriptor) and a
  640.   series of begin character descriptor commands (followed by their
  641.   associated data).  When a new character descriptor is encountered, it
  642.   is added to the _current_ font (which may change between descriptors).
  643.  
  644.   In the discussion that follows, the following notational conventions
  645.   are followed:
  646.  
  647.     Key elements are surrounded by quotation marks.  The quotation marks
  648.     are not part of the element.  Spaces within the element are for
  649.     clarity only, they are not part of the element.  All characters
  650.     (except ESC and #, described below, are _literal_ and must be
  651.     entered in the precise case shown).
  652.  
  653.     ESC means the escape character, ASCII character number 27 decimal.
  654.   
  655.     # means any decimal number.  The meaning of the number is described
  656.     in the commentary for that element.
  657.   
  658.   What is a font descriptor?  A font descriptor begins with a font
  659.   descriptor command and is followed immediately by the data for the
  660.   descriptor.  Font descriptors define data global to the font.  In
  661.   general, more recent printers are less strict about these parameters
  662.   than older printers.
  663.   
  664.   What is the font descriptor command?
  665.   
  666.    "ESC ) s # W"
  667.   
  668.      In this command, # is the number of bytes in the descriptor.  The
  669.      first element of the descriptor indicates how many of these bytes
  670.      should be interpreted as the font descriptor (the remaining bytes
  671.      are commentary only--to the printer, at least).  This area is
  672.      frequently used for copyright information, for example, although
  673.      some systems insert kerning data into this area.
  674.   
  675.   What is the font descriptor data?
  676.   
  677.     The data is:
  678.   
  679.       UI  Font descriptor size
  680.       UB  Descriptor format
  681.       UB  Font type
  682.       UI  Reserved (should be 0)
  683.       UI  Baseline distance
  684.       UI  Cell width
  685.       UI  Cell height
  686.       UB  Orientation
  687.        B  Spacing
  688.       UI  Symbol set
  689.       UI  Pitch
  690.       UI  Height
  691.       UI  xHeight
  692.       SB  Width Type
  693.       UB  Style
  694.       SB  Stroke Weight
  695.       UB  Typeface LSB
  696.       UB  Typeface MSB
  697.       UB  Serif Style
  698.       SB  Underline distance
  699.       UB  Underline height
  700.       UI  Text Height
  701.       UI  Text Width
  702.       UB  Pitch Extended
  703.       UB  Height Extended
  704.       UI  Cap Height
  705.       UI  Reserved (0)
  706.       UI  Reserved (0)
  707.       A16 Font name
  708.       ??  Copyright, or any other information
  709.   
  710.     Where, UI=unsigned integer, SI=signed integer,
  711.            UB=unsigned byte,    SB=signed byte,
  712.             B=boolean,          A16=sixteen bytes of ASCII
  713.   
  714.     After the font name, ?? bytes of extra data may be inserted.  These
  715.     bytes pad the descriptor out to the length specified in the begin
  716.     font descriptor command.
  717.   
  718.     Note: integers are _always_ in big-endian order (MSB first).
  719.   
  720.   What is a character descriptor?  A character descriptor describes the
  721.   character specific info and the layout of the bitmap.  Newer printers
  722.   can accept compressed character bitmaps.
  723.   
  724.   What is a character descriptor command?
  725.   
  726.     "ESC * c # E"
  727.   
  728.       The # is the length of the descriptor, in bytes.
  729.   
  730.   What is the character descriptor data?
  731.   
  732.     UB  Format
  733.      B  Continuation
  734.     UB  Descriptor size
  735.     UB  Class
  736.     UB  Orientation
  737.     SI  Left offset
  738.     SI  Top offset
  739.     UI  Character width
  740.     UI  Character height
  741.     SI  Delta X
  742.     ??  Character (bitmap) data.
  743.   
  744.     Although older printers cannot accept characters that include
  745.     continuations, newer printers can.  If the "continuation" field is
  746.     1, the character bitmap data begins immediately after that byte and
  747.     the remaining fields _are not_ present.
  748.   
  749.   Ok, now I understand the data, what do I look for in the output stream?
  750.   
  751.     "ESC * c # D"  defines the font number (remember the number).
  752.     "ESC ) s # W"  defines the font descriptor (as described above).
  753.     "ESC * c # E"  specifies the character code (the #, in this case).
  754.                    The next character descriptor maps to this position in
  755.                    the font.  Characters do not have to appear in any 
  756.            particular order.
  757.     "ESC ( s # W"  defines the character descriptor (as described above).
  758.   
  759.     Remember, these can occur in any order.  Experimentation with the
  760.     particular driver you are using may help you restrict the number of
  761.     different cases that you have to be prepared for.
  762.   
  763.   Please report your experiences using this method to norm
  764.   <walsh@cs.umass.edu> (both to satisfy his own curiosity and to help
  765.   improve the FAQ).
  766.  
  767. 6.  MS-DOS Screen Fonts (EGA/VGA text-mode fonts)
  768.  
  769.   Editors note: the following description was mercilessly stolen from
  770.                 comp.archives on 02SEP92.  It was originally Yossi Gil's
  771.                 <yogi@cs.ubc.ca> posting.
  772.  
  773.  
  774.   FNTCOL12.ZIP contains more than 100 text mode fonts for EGA/VGA displays.  
  775.   It includes fonts in different sizes for Hebrew, Greek, Cyrillic, math 
  776.   symbols and various type styles including smallcaps and script.
  777.  
  778.   It is available at cs.ubc.ca in /pub/pickup/terse/fntcol12.zip
  779.  
  780. -- END OF PART III --
  781.  
  782.  
  783.  
  784.  
  785. FAQ for comp.fonts: Part IV: *nix-specific Info
  786.  
  787. Version 1.0.0, Release 02OCT92
  788.  
  789.  
  790. This section is divided into the following topics:
  791.  
  792. 0.  Please help!
  793. 1.  Font utilities
  794.  
  795. ------------------------------------------------------------------------------
  796.  
  797. 0. Please help!
  798.  
  799.   This section needs a lot of work.  At the time of this release, I'm not
  800.   in a position to write it so I'm leaving it basically blank.  Even if
  801.   you don't have time to write it, if you know what _should_ be in this
  802.   section, please forward it to norm <walsh@cs.umass.edu>.
  803.  
  804.   I have just built and installed the GNU Font utilities.  I may have more
  805.   information for this section before the next posting...
  806.  
  807. 1. Font utilities
  808.  
  809.   PS2PK 
  810.  
  811.     PS2PK allows you to convert PostScript Type1 fonts into bitmap fonts.
  812.     The bitmap files produced are in TeX PK format.
  813.  
  814.   PFB2PFA
  815.  
  816.     Converts 'binary' Type1 fonts into 'ascii' Type1 fonts.
  817.  
  818. -- END OF PART IV --
  819.  
  820.  
  821.  
  822.  
  823. FAQ for comp.fonts: Part V: Sun-specific Info
  824.  
  825. Version 1.0.0, Release 02OCT92
  826.  
  827.  
  828. This section is divided into the following topics:
  829.  
  830. 0.  Please help!
  831. 1.  Fonts under Open Windows
  832.  
  833. ------------------------------------------------------------------------------
  834.  
  835. 0. Please help!
  836.  
  837.   Someone mailed a file of Sun-related font tips.  Unfortunately, I cannot
  838.   find the file.  If you have any suggestion for this section (or if you
  839.   are the person that mailed me the other list), please forward your
  840.   suggestions to norm <walsh@cs.umass.edu>.
  841.  
  842. 1. Fonts Under Open Windows
  843.  
  844.   The following information regarding fonts under Open Windows was stolen
  845.   from Liam R.E. Quim's <lee@sq.com> Open Windows FAQ.
  846.  
  847.   Does OpenWindows support Type 1 PostScript fonts?
  848.  
  849.     No.     If you have FrameMaker there is a utility to import them, I'm told.
  850.     The 57 fonts supplied with OpenWindows are fully hinted, though, and
  851.     comparing them to the Microsoft Windows and Apple TrueType fonts is
  852.     interesting...  The F3 font format is described in a publication from the
  853.     Sun OpenFonts group, listed in the Bibliography below.  Documentation on
  854.     the unbundled version of TypeScaler is also available from Sun OpenFonts.
  855.  
  856.     Sun has a program that converts Type 1 fonts to Folio format, but it's
  857.     not cheap.    You can buy Folio fonts, although the Sun sales office I
  858.     called weren't able to help me do so :-(
  859.  
  860.     The latest release of Sun's NeWSPrint supports Type 1 fonts.
  861.  
  862.   Improving font rendering time
  863.  
  864.     Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
  865.     fast as loading a bitmap :-).  You can pre-generate bitmap fonts for sizes
  866.     that you use a lot, and you can also alter and access the font cache
  867.     parameters.     If you have a lot of memory you might want to increase the
  868.     font cache size.
  869.     $ psh -i
  870.     Welcome to X11/NeWS Version3 <--- psh will say this at you
  871.     currentfontmem =    % type this line ...
  872.     300    % and here's whai my server was using -- 300 Kbytes
  873.     1024 setfontmem
  874.     % Just to check:
  875.     currentfontmem =
  876.     1024
  877.     See pp. 328ff of the NeWS 3.0 Programmer's Guide.  You need to say psh -i
  878.     so that the PostScript packages are loaded - see the psh man page.
  879.  
  880.   Making bitmap fonts for faster startup:
  881.  
  882.     $ mkdir $HOME/myfonts
  883.     $ cd $HOME/myfonts
  884.     $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  885.     Creating Bembo20.afb
  886.     $ convertfont -b Bembo20.afb
  887.     Bembo20.afb->./Bembo20.fb
  888.     Chars parameter greater than number of characters supplied.
  889.     $ ls
  890.     Bembo20.afb    Bembo20.fb    Synonyms.list
  891.     $ bldfamily
  892.     * Bembo               ./Bembo.ff (Encoding: latin)
  893.     cat: ./Compat.list: No such file or directory
  894.     $ xset +fp `pwd`
  895.     $ xset fp rehash
  896.  
  897.     If you want the server to see your new font directory every time,
  898.     add this directory to your FONTPATH environment variable in one
  899.     of your start-up files, e.g. .login or .profile.
  900.  
  901.   Converting between font formats (convertfont, etc.)
  902.  
  903.     You can also use Folio fonts with an X11 server, by converting them to a
  904.     bitmap (X11 bdf format) first.  Your licence forbids you from using the
  905.     fonts on another machine, and unless you have NeWSPrint you shouldn't
  906.     use them for printing.  Having said all that...  you can use makeafb and
  907.     convertfont to generate bdf files that you can compile with bdftosnf or
  908.     bdftopcf.
  909.  
  910.     Use mftobdf (from the SeeTeX distribution) to convert TeX pk fonts to
  911.     X11 bdf format, which you can then use with either X11 or OenWindows.
  912.  
  913.   Xview/OLIT fonts at 100 dpi
  914.  
  915.     There aren't any.  More precisely, the various text fonts, such as
  916.     Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  917.     scalable under OpenWindows.     The glyph fonts are bitmaps, and don't
  918.     scale very well.
  919.  
  920. -- END OF PART V --
  921.  
  922.  
  923.  
  924.  
  925. FAQ for comp.fonts: Part VI: NeXT-specific Info
  926.  
  927. Version 1.0.0, Release 02OCT92
  928.  
  929.  
  930. This section is divided into the following topics:
  931.  
  932. 0.  Please help!
  933. 1.  Font availability
  934.  
  935. ------------------------------------------------------------------------------
  936.  
  937. 0. Please help!
  938.  
  939.   If you have any suggestions for this section, please forward your
  940.   suggestions to norm <walsh@cs.umass.edu>.
  941.  
  942. 1. Font availability
  943.  
  944.   Public Domain fonts for the NeXT are available via anonymous FTP from 
  945.   sonata.purdue.edu, in the directory next/graphics/fonts.  The README for 
  946.   this file states that the directory is currently being restructured by 
  947.   the archive moderator, although fonts are still available in that 
  948.   directory. 
  949.  
  950. -- END OF PART VI --
  951.  
  952.  
  953.  
  954.  
  955. FAQ for comp.fonts: Part VII: X-specific Info
  956.  
  957. Version 1.0.0, Release 02OCT92
  958.  
  959.  
  960. This section is divided into the following topics:
  961.  
  962. 0.  Please help!
  963. 1.  X fonts and font utilities
  964.  
  965. ------------------------------------------------------------------------------
  966.  
  967. 0. Please help!
  968.  
  969.   This section needs a lot of work.  At the time of this release, I'm not
  970.   in a position to write it so I'm leaving it basically blank.  Even if
  971.   you don't have time to write it, if you know what _should_ be in this
  972.   section, please forward it to norm <walsh@cs.umass.edu>.
  973.  
  974. 1. X fonts and font utilities
  975.  
  976.   The following programs will allow you to create fonts for display under
  977.   X.  IBM has contributed Type1 font support for X11R5 but, at present,
  978.   I have no experience with it.
  979.  
  980.   On any given platform, X requires specially 'compiled' fonts.  The
  981.   standard method of interchange between platforms is BDF format.  The
  982.   BDF format is defined by Adobe.  A document describing the format is
  983.   available from Adobe (send "help" to <ps-file-server@adobe.com>).
  984.   It is also available in the standard X distribution.  Look under
  985.   ../X11R4(5)/mit/hardcopy/BDF.  This document is also reproduced in any
  986.   text describing the X standard.
  987.  
  988.   Once you have a file in BDF format, your X platform should have the
  989.   tools required to convert it into your local binary format.  Depending
  990.   on your platform this may be 'snf', 'pcf', or X11/News format ('ff'
  991.   and 'fb').
  992.  
  993.   Here's a quick list of possible steps to get from "what you got" to X:
  994.  
  995.   Mac format bitmaps:
  996.  
  997.     No idea.  If _you_ know how to read a Mac format bitmap file on some
  998.     other platform, please tell norm <walsh@cs.umass.edu>.
  999.  
  1000.   PC format bitmaps:
  1001.  
  1002.     Conversion to BDF is possible from TeX PK format and LaserJet softfont
  1003.     format.  Other conversions are also within the realm of possibility.
  1004.     Feel free to ask norm <walsh@cs.umass.edu> for more information if you
  1005.     have a specific conversion in mind.
  1006.  
  1007.   TeX PK format bitmaps:
  1008.  
  1009.     PKtoBDF gets us directly to BDF format from here.
  1010.  
  1011.   Mac format postscript:
  1012.  
  1013.     Under MS-DOS, conversion to PC format postscript allows the font to
  1014.     be accessed with PS2PK (under *nix or MS-DOS).  See above for TeX
  1015.     PK to X conversions.
  1016.  
  1017.   PC/*nix format PostScript
  1018.  
  1019.     Conversion to TeX PK with PS2PK allows us to get to BDF (indirectly).
  1020.  
  1021. -- END OF PART VII --
  1022.  
  1023.  
  1024. --- [cut here] --- FAQ for comp.fonts: section 2, part 1 of 2 ---
  1025.